/*
 * Copyright (c) 2017 22420103@QQ.COM 版权所有
 */
package com.lehe.service.impl;

import com.lehe.common.Contants;
import com.lehe.common.exceptions.LHServiceException;
import com.lehe.entry.wx.message.RespBaseMessage;
import com.lehe.entry.wx.message.RespUserUnionIdMessage;
import org.springframework.stereotype.Service;

/**
 * 类的功能描述
 *
 * @author 王丹
 * @since 2017-02-26
 */
@Service("queryUserUnionidIdExecuteService")
public class QueryUserUnionidIdExecuteService extends WeChatGetExecuteService {

    @Override
    protected String queryRequestUrl() throws LHServiceException {
        return Contants.WE_USER_UNIONID;
    }

    @Override
    protected RespBaseMessage convertRespMessage(String respHtml)
            throws LHServiceException {
        return super.convertRespJson(respHtml, RespUserUnionIdMessage.class);
    }
}
